<%--
  Created by IntelliJ IDEA.
  User: 王宇航
  Date: 2023/4/8
  Time: 11:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>商品详情页面</title>
    <style>
        div{
            color: black;
            width: 80%;
            height: auto;
            margin-left: 10%;
        }
        pre{
            font-family: "微软雅黑";
            font-size: 18px;
            color: black;
        }
    </style>
</head>
<body style="text-align: center">
<h1 style="color: aqua">商品详情页面</h1>
<div>
    <pre>
           商品编号: ${sessionScope.product.id}
           商品名称: <span style="color: blue">${sessionScope.product.title}</span>
        商品原始价格: <span style="color:red;">${sessionScope.product.orginal_price}￥</span>
        商品当前价格: <span style="color: red">${sessionScope.product.current_price}￥</span>
        商品大致描述: ${sessionScope.product.details}
        商品经营类型: ${sessionScope.product.type}
    </pre>
    <p style="color:rebeccapurple;font-size: 20px">商品图片如下:</p>
    <img width="100%" height="auto" src="/static/images/product/${sessionScope.product.picture}">
</div>
</body>
</html>
